package com.jkhan.design;

import com.alibaba.fastjson.JSON;
import com.jkhan.design.mq.POPOrderDelivered;

/**
 * @ClassName POPOrderDeliveredService
 * @Description POPOrderDeliveredService
 * @Author hjk
 * @Date 2023/2/13 23:14
 **/
public class POPOrderDeliveredService {

    public void onMessage(String message) {
        POPOrderDelivered mq = JSON.parseObject(message, POPOrderDelivered.class);

        mq.getUid();
        mq.getOrderId();
        mq.getOrderTime();

        // ... 处理自己的业务
    }


}
